package com.scott.spring.ch03.service;

import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Component;

/**
 * @author 黄后林
 * @version 1.0
 * @date 2021-12-14 13:46:47
 */
@Component
//@Scope("singleton")
@Scope("prototype")
public class RoleService {
    public RoleService() {
        System.out.println("--------执行RoleService的构造方法--------");
    }
}
